Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
Linux "find" returns all files

A few days ago I was reading about the Linux find tool and based on that I issued the following command to see if I have the Python.h file:

find . 'Python.h'

The problem is that all files in current dir and subdirs are returned. Shouldn't I get what I'm looking for?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

You left out the parameter specifier -name:

find ./ -name 'Python.h'

find will recurse through all directories in the current directory. If you just want to see whether you have a file in the current directory, use ls:

ls Python.h
over 4 years ago · Santiago Trujillo Relatório

0

Use -name switch:

find . -name  'Python.h' 

Otherwise it takes the name as location to look at.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda